package com.bite.system.service.exam;

import com.bite.system.domain.exam.dto.*;
import com.bite.system.domain.exam.vo.ExamDetailVO;
import com.bite.system.domain.exam.vo.ExamVO;
import com.bite.system.domain.user.dto.UserGroupExamUpdateDTO;

import java.util.List;

/**
* @author 17450
* @description 针对表【tb_exam】的数据库操作Service
* @createDate 2025-05-18 15:20:13
*/
public interface IExamService {

    List<ExamVO> list(ExamQueryDTO examQueryDTO);

    Long add(ExamAddDTO examAddDTO);

    boolean questionAdd(ExamQuestionAddDTO examQuestionAddDTO);

    int questionDelete(Long examId, Long questionId);

    ExamDetailVO detail(Long examId);

    int edit(ExamEditDTO examEditDTO);

    int delete(Long examId);

    int publish(Long examId);

    int cancelPublish(Long examId);

    List<String > userGroupIdByExamId(Long examId);
}
